package com.oracle.AopAnnotation;

import org.springframework.stereotype.Repository;

/**
 * 目标类:
 */
@Repository
public class UserDaoImpl implements UserDao {
    @Override
    public void add() {
        //int i = 1/0;
        System.out.println("添加");
    }

    @Override
    public int delete(int id) {
        System.out.println("删除");
        return id;
    }

    @Override
    public void update() {
        System.out.println("修改");
    }
}
